package com.atguigu.day20.exer;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/11/25 16:08
 * @注释
 */
public class Letter extends Thread{

    private PrintTest print;
    public Letter(PrintTest print) {
        this.print = print;
    }

    @Override
    public void run() {
        for (char i = 'A'; i <= 'Z'; i++) {
            print.letter(i);
        }
    }


}
